package com.scuec.trainingmanagementsys.entity;
import lombok.Data;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

@Data
public class Project {
    private Integer projectId;
    private String projectName;
    private String projectDescription;
    private Integer teacherId;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startDate;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endDate;
    private Integer availableSlots;
    private String projectStatus;
    private String teacherName;
    private Integer teamID;
    // 添加组数字段（非数据库字段）
    private Integer groupCount;  // 用于接收前端传递的组数


    private String memberRole;
}